package com.lemon.components.ant.apimaker.dto;

import java.sql.ResultSetMetaData;
import java.util.List;

import com.alibaba.druid.sql.ast.expr.SQLBinaryOpExpr;
import com.lemon.components.ant.apimaker.enums.CodePart;
import com.lemon.components.ant.apimaker.enums.ResultType;
import com.lemon.components.ant.beans.ProjectInfo;
import com.lemon.components.ant.project.beans.ColumnInfo;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Builder
@EqualsAndHashCode(callSuper=false)
public class ApiMakerDto{
	
	// SQL语句
	private String sql;
	// 业务名
	private String bizName;
	// 服务名
	private String servName;
	// 服务包名
	private String servicePackageName;
	// 注释
	private String comments;
	// 项目全局信息
	private ProjectInfo projectInfo;
	// 需要生成的代码
	private List<CodePart> codepart;
	// 结果集类型
	private ResultType resultType;
	
	private String serviceClazz;
	
	private String myModelPackage;
	
	private String myMapperPackage;
	
	private String servicePackage;
	
	private String dtoPackage;
	
	private ResultSetMetaData resultSetMetaData;
	
	private List<SQLBinaryOpExpr> sqlWhere;
	
	private List<ColumnInfo> params;
	
}
